package org.raftkv.raft.core.status;


import org.raftkv.raft.core.node.SoftState;
import org.raftkv.raft.pb.HardState;

public class BasicStatus {

    private long id;

    private HardState hardState;

    private SoftState softState;

    private long applied;

    private long leadTransferee;

    public BasicStatus() {

    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public HardState getHardState() {
        return hardState;
    }

    public void setHardState(HardState hardState) {
        this.hardState = hardState;
    }

    public SoftState getSoftState() {
        return softState;
    }

    public void setSoftState(SoftState softState) {
        this.softState = softState;
    }

    public long getApplied() {
        return applied;
    }

    public void setApplied(long applied) {
        this.applied = applied;
    }

    public long getLeadTransferee() {
        return leadTransferee;
    }

    public void setLeadTransferee(long leadTransferee) {
        this.leadTransferee = leadTransferee;
    }

}
